import 'package:flutter/material.dart';


class CheckBox extends Row{

  CheckBox({
    super.key,
    String? label,
    bool? checked = false,
    onChanged,
  }) :
      super(
        children: [
          Checkbox(value: checked, onChanged: (value) => onChanged(value)),
          Text(label??'', style: const TextStyle(fontSize: 18))
        ]
      );

}